
//
//  MCHongBaoButton.m
//  XDYL
//
//  Created by menhao on 2018/3/22.
//  Copyright © 2018年 TLYL01. All rights reserved.
//

#import "MCHongBaoButton.h"

@implementation MCHongBaoButton


- (void)layoutSubviews{
    [super layoutSubviews];
    self.imageView.frame = CGRectMake(MC_REALVALUE(5), (self.heiht - MC_REALVALUE(12))*0.5, MC_REALVALUE(12), MC_REALVALUE(12));
    self.titleLabel.frame = CGRectMake(MC_REALVALUE(20), 0, self.widht - MC_REALVALUE(23), self.heiht);
    self.titleLabel.font = [UIFont systemFontOfSize:MC_REALVALUE(12)];
    self.titleLabel.textAlignment = NSTextAlignmentCenter;
}

@end
